/* info.css */

/* 定义字体 */
@font-face {
  font-family: "LolitaFont";
  src: url("../font/font.woff") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "LolitaFont", sans-serif;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: "Outfit", sans-serif;
  min-height: 100vh;
  padding: 40px 20px;
  background: linear-gradient(135deg, #2d3250 0%, #424769 100%);
  color: #333;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.5);
  padding: 20px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(2px) brightness(0.9);
}

.footer {
  text-align: center;
  color: #555;
  font-size: 14px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #2d3250;
  position: relative;
  padding-bottom: 15px;
}

h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ffb7c5, #f57e93);
  border-radius: 2px;
}

.section {
  margin-bottom: 50px;
  padding: 30px;
  background: #f8fafc7d;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.section:hover {
  transform: translateY(-5px);
}

h2 {
  font-size: 1.6rem;
  color: #2d3250;
  margin-bottom: 25px;
  border-left: 5px solid #ffb7c5;
  padding-left: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 15px;
}

.tag-list li {
  background: linear-gradient(135deg, #f57e93, #ffb7c5);
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(66, 165, 245, 0.2);
  position: relative;
  overflow: hidden;
}

.tag-list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: left 0.5s ease;
}

.tag-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(66, 165, 245, 0.3);
  background: linear-gradient(135deg, #ffb7c5, #f57e93);
}

.tag-list li:hover::before {
  left: 100%;
}

.tag-list li.empty {
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  color: #888;
  cursor: default;
  box-shadow: none;
}

.tag-list li.empty:hover {
  transform: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .container {
    padding: 25px;
  }

  .section {
    padding: 20px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .tag-list li {
    padding: 10px 20px;
    font-size: 14px;
  }
}
